package com.ss.android.gallery.base.activity;

import java.util.List;

import com.ss.android.common.util.ToolUtils;
import com.ss.android.gallery.base.AppData;
import com.ss.android.newmedia.data.Banner;
import com.ss.android.newmedia.recommend.BaseRecommendFragment;

public class RecommendFragment extends BaseRecommendFragment{
	
	protected void onBannerClicked(Banner banner){
		if(banner.action.equalsIgnoreCase(Banner.ACTION_DOWNLOAD)){
			onEvent(banner.name);
			String str=banner.actionUrls[0];
			ToolUtils.runApplication(getActivity(),banner.packageName,str);
		}
	}
	

	protected void onEvent(String str){
		//AsyncMobClickTask.onEvent(getActivity(),"recommend",str);
	}
	
	protected void saveGalleryTags(List<TagInfo> list){
		//AppData.inst().saveGalleryTags(list);
	}
	
}
